import request from '@/utils/request'
const api_project_name = '/startup/projects'
export default {
    //获取首页项目数据
    addProject(projectvo) {
        return request({
            url: `${api_project_name}/add/project`,
            method: 'post',
            data: projectvo
        })
    },

    //获取首页项目数据
    getProjectList() {
        return request({
            url: `${api_project_name}/list/project`,
            method: 'get'
        })
    },
    getConditionProjects(current, limit, queryProject) {
        return request({
            url: `${api_project_name}/pageProjectCondition/${current}/${limit}`,
            method: 'post',
            data: queryProject
        })
    },
    getReigionList() {
        return request({
            url: `${api_project_name}/list/region`,
            method: 'get'
        })
    },
    getTypeList() {
        return request({
            url: `${api_project_name}/list/type`,
            method: 'get'
        })
    },
    getCityList() {
        return request({
            url: `${api_project_name}/list/city`,
            method: 'get'
        })
    },
}